@extends('tp_391.layouts.default')

{{-- Content --}}
@section('content')
<div id="content-wrapper">
    <div class="container">
        <!-- crumbs -->
        <div class="whole-width crumbs">
            您现在的网站位置: <a href="{{{ URL::to('/') }}}">{{{ Lang::get('site/default.home') }}}</a> {{{ Lang::get('site/default.culture') }}}
        </div>
    </div>
    <!-- title -->
    <div class="title">
        <div class="left-arr"></div>
        <div class="right-arr"></div>
        <div class="container">
            <div class="alpha title-inner">
                <div style="margin-left:30px;">
                    <h1>{{{ Lang::get('site/default.culture') }}}</h1>
                    <p>地源网络公司最新企业风采 </p>
                </div>
            </div>

            <div class="clear"></div>
        </div>
    </div>
    <!-- /title -->

    <div class="container">
        <div class="separator35"></div>

        <!-- Left Part -->
        <div class="columns twelve">
            @foreach ($cultures as $culture)
            <!-- Blog Item -->
            <div>
                <h2><a href="{{{ URL::to('/cultures/'.$culture->id.'/show') }}}">{{{ $culture->culture_name }}}</a></h2>
                <div class="post-entry">
                    <small >更新时间:<a href="#">{{{ $culture->updated_at->format('Y年m月d日') }}}</a></small>

                    <div>

                        @if($culture->image!="")
                        <div class="post-image"><a href="{{ URL::to('files/image?name=') }}{{{ $culture->image }}}" class="fancybox post-preview"><img src="{{ URL::to('files/image?name=') }}{{{ $culture->image }}}" alt="" class="width:549px;height:209px;" /> <span class="over-bg-portfolio"><!-- over --></span></a></div>
                        @endif
                        <br/>
                        <p>
                            {{ strip_tags(String::tidy(Str::limit($culture->culture_content, 300)), '<p><a>') }}
                        </p>
                        <a href="{{{ URL::to('/cultures/'.$culture->id.'/show') }}}" class="read-more">查看详细</a>

                    </div>
                </div>
            </div>
            <!-- /Blog Item -->
            @endforeach


            <div class="separator9"></div>
            <div class="pager">{{ $cultures->links() }}</div>

            <div class="separator29"></div>
        </div>
        <!-- Left Part -->


        <!-- Right Part -->
        <div class="columns four blog-aside">
            @include('tp_391.wzlm')
            <div class="dbl-dott-wrapper"></div>
            <div class="separator11"></div>

            <h3 class="sidebar-titles">最新企业风采</h3>
            <ul class="recent-posts-side">
                @foreach ($cultures as $culture)
                <li>
                    <a href="{{ URL::to('files/image?name=') }}{{{ $culture->image }}}" class="fancybox left-image">
                        @if($culture->image)<img src="{{ URL::to('files/image?name=') }}{{{ $culture->image }}}" style="width:60px; height:32px" alt="" /> <span class="over-bg-portfolio"></span>@endif
                    </a>
                    <a href="{{{ URL::to('/cultures/'.$culture->id.'/show') }}}">{{{ $culture->culture_name }}}</a>
                    <em>{{{ $culture->created_at->format('Y-M-d') }}}</em>
                </li>
                @endforeach
            </ul>


            <div class="dbl-dott-wrapper"></div>
            <div class="separator12"></div>
        </div>
        <!-- /Right Part -->


        <div class="clear"></div>
    </div>
</div>
@stop